/**
  * Copyright (c) CSIRO Australia, 2009
  *
  * @author $Author: jia020 $
  * @version $Id: GlobalVars.java 643 2009-05-20 00:20:55Z jia020 $
  */
package au.csiro.nt.pdsp.client;

/**
 * Singleton class for Global Variables in gwt client.
 *
 */
public class GlobalVars {
	/**
	 * user's id of session.
	 */	
	public String userid = "";
	/**
	 * user's role of session.
	 */		
	public String role = "";
	/**
	 * user's status of session.
	 */			
	public String status = "";
	
	private static GlobalVars myGlobalVars = null;
	/**
	 * Singleton constructor(static) for GlobalVars.
	 */		
	static {
		myGlobalVars = new GlobalVars();
	}
	/**
	 * @return myGlobalVars the GlobalVars instance.
	 */		
	public static GlobalVars getInstance() {
		return myGlobalVars;
	}	
}
